
import request from '@/utils/request'

// 查询招聘岗位信息
export function getRecruitJob(data) {
  return request({
    url: '/app/recruit/job/list',
    method: 'get',
	params: data
  })
}

// 查询招聘岗位详情信息
export function getRecruitJobDetail(jobId) {
  return request({
    url: '/app/recruit/job/detail/'+jobId,
    method: 'get',
	  params: null
  })
}

// 加入意向岗位
export function addLikeJob(data) {
  return request({
    url: '/app/recruit/job/addLike',
    method: 'post',
	  data: data
  })
}

// 取消意向岗位
export function cancelLikeJob(data) {
  return request({
    url: '/app/recruit/job/cancelLike',
    method: 'post',
	  data: data
  })
}

// 获取意向岗位列表
export function getLikeJobList(data) {
  return request({
    url: '/app/recruit/job/likeList',
    method: 'get',
    params: data
  })
}